package com.cskaoyan.bean.brand.util;

/**
 * @author chenai
 * @description TODO
 * @date 2022-06-05 20:29
 */
public class DeletedStateThansform {
    public static Boolean POToVO(Integer deleted) {
        if (deleted == 1) {
            return true;
        }
        else {
            return false;
        }
    }

    public static Integer VOToPO(Boolean deleted) {
        if (deleted) {
            return 1;
        } else {
            return 0;
        }
    }
}
